package com.example.springboot.mapper;

import com.example.springboot.controller.request.BaseRequest;
import com.example.springboot.entity.Paper;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface PaperMapper {

    List<Paper> list();

    List<Paper> listByCondition(BaseRequest baseRequest);

    void save(Paper obj);

    Paper getById(Integer id);

    void updateById(Paper user);

    void deleteById(Integer id);

    Paper getByNo(String examNo);


}